
#ifndef _MEMBER_BLongSlider_H_
#define _MEMBER_BLongSlider_H_

#include <BIcon>
#include <BImage>
#include <BLongSlider>

namespace BWE
{
	class member_BLongSlider
	{
	public:
		member_BLongSlider(BLongSlider* slider);
		~member_BLongSlider();

		long long valueOfPoint(const BPoint& pos) const;
		void freshRects();

		BLongSlider*		boss;
		long long			value;
		long long			minimum;
		long long			maximum;
		long long			step;
		Orientation			orientation;
		int					grooveSize;
		BImageHolder		grooveImage;
		BSize				handleSize;
		BIconHolder			handleIcon;
		Graph				handleGraph;

		bool				dirty;
		State				handleState;
		BRect				handleRect;
		BRect				grooveRect;
	};
}

#endif